package com.bj.dz.mapper;

import com.bj.dz.entity.ReleaseSubtask;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ReleaseSubtaskMapper {

	public ReleaseSubtask getReleaseSubtaskById(@Param(value = "id") Integer id);

	public List<ReleaseSubtask>	getReleaseSubtaskListByMap(Map<String, Object> param);

	public Integer getReleaseSubtaskCountByMap(Map<String, Object> param);

	public Integer insertReleaseSubtask(ReleaseSubtask releaseSubtask);

	public Integer updateReleaseSubtask(ReleaseSubtask releaseSubtask);

	public Integer deleteReleaseSubtaskById(@Param(value = "id") Integer id);

	public Integer deleteReleaseSubtaskByType(@Param(value = "type") Integer type);

}
